package com.ztman.rxjava.server.apiServer;

import com.ztman.rxjava.model.baseEntity.BaseResponse;
import com.ztman.rxjava.model.entityExtends.self.SelfInfo;

import retrofit.http.Field;
import retrofit.http.FormUrlEncoded;
import retrofit.http.POST;
import rx.Observable;

/**
 * Created by YJH on 2017/11/29.
 * 功能：获取个人信息的api
 */

public interface SelfApi {
    //获取个人信息
    @FormUrlEncoded
    @POST("PersonCenter/PersonInfo")
//    @Headers("Content-Type:x-wwww-form-urlencoded")
    Observable<BaseResponse<SelfInfo>> getSelfInfo(@Field("accountid") int id);
}
